package github.saw96x.common.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.ToString;

/**
 * @author Saw96x
 * @date 2022/3/17 13:56
 */

@AllArgsConstructor
@Getter
@ToString
public enum RpcResponseCodeEnum {
  SUCCESS(200, "The remote call is successful"),
  FAIL(500, "The remote call is fail");
  private final int code;

  private final String message;
}
